Update Label
Update an existing WhatsApp label's name or color.
Authentication Required
Login to swap the placeholders with your real Instance ID and Access Token.
Log InNo query parameters required
This endpoint doesn't expect data in the URL.
Best practices
Notify agents if a common label changes meaning (e.g., 'Red' becomes 'Low Priority').
Update the updated timestamp in your local database.
Request Parameters
Configure the parameters required to interact with this endpoint. All query and body arguments are listed below with their details.
Request Body
Sent as a JSON objectstring | Your unique WhatsApp Instance ID Example: | ||
string | Your API Access Token Example: | ||
string | The unique ID of the label to update Example: | ||
string | — | New name for the label Example: | |
number | — | New internal color number (0-19). E.g., 0=#ff9485, 1=#64c4ff, ... 19=#9368cf Example: |
Request Samples
Use these ready-to-go code snippets to integrate our API into your project quickly and efficiently. Choose your preferred language and library.
Expected Responses
Explore all possible responses and outcomes from the server. We have documented each status code with data examples to make success and error handling easier.
Example
{
"id": "3",
"name": "Very Urgent",
"color": 0,
"colorHex": "#ff0000"
}Command Palette
Search for a command to run...